@inject('category', 'App\Services\Home\CategoryService')
@inject('article', 'App\Services\Home\ArticleService')

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
    <TITLE>@yield('title')-{{ config('site.title') }}</TITLE>
    <meta name="keywords" content="">
    <meta name="description" content="@yield('description')">
    <link href="{{ asset('/style/css/style.css') }}" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="{{ asset('/style/js/jquery-1.11.3.min.js') }}"></script>
    <script type="text/javascript" src="{{ asset('/style/js/lan.js') }}"></script>
</HEAD>
<BODY>
<div class="top">
    <div class="shoucang">
        <h2><a href="/">福建省长绿食品饮料有限公司</a></h2>
        <div class='header_Hekee'>
            <ul>
                <li class='ov'><a href='/'>网站首页</a></li>
                @foreach($categories = $category->getParent() as $category)
                    <li class='ov'>
                        <a href="{{ route('home.category_list', ['category_id' => $category['id']]) }}">{{ $category['name'] }}</a>
                    </li>
                @endforeach
            </ul></div>
    </div>
</div>
<div id='full-screen-slider'>
    <ul id='slides'>
        <li style='background:url({{ asset('/style/images/ad_1.jpg') }}) no-repeat center center fixed;'></li>
        <li style='background:url({{ asset('/style/images/ad_2.jpg') }}) no-repeat center center fixed;'></li>
    </ul>
</div>

    @section('body')

    @show

<div class="bottom">
    <ul class="ul">版权所有 @ {{ date('Y') }} 福建长绿食品饮料有限公司  电话：0595-23718999 <br>地址：永春县榜德工业区F01</ul>
</div>

@section('script')
    <script language="JavaScript" src="{{ asset('/style/js/inmar2.js') }}"></script>
@show

</body>
</html>